import Vue from 'vue'
import Vuex from 'vuex'
import app from './modules/app'
import test from './modules/test'
import user from './modules/user'
import order from './modules/order'
import products from './modules/products'
import permission from './modules/permission'

Vue.use(Vuex)
const store =new Vuex.Store({
modules:{
    app,test,user,order,products,permission
}
})
export default store